<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理平台</title>
<link href="<?php echo $_BASE_DIR?>images/themes/css/login.css"
	rel="stylesheet" type="text/css" />
</head>

<body>
	<div id="login">
		<div id="login_header">
			<h1 class="login_logo">
				<a href="#"><img
					src="<?php echo $_BASE_DIR?>images/themes/default/images/login_logo.gif" />
				</a>
			</h1>
			<div class="login_headerContent">
				<div class="navList">
					<ul>
						<li><a href="#">设为首页</a></li>
					</ul>
				</div>
				<h2 class="login_title">
					<img
						src="<?php echo $_BASE_DIR?>images/themes/default/images/login_title.png" />
				</h2>
			</div>
		</div>
		<div id="login_content">
			<div class="loginForm">
				<form
				<?php foreach ($form->attrs() as $attr => $value): $value = h($value); echo "{$attr}=\"{$value}\" "; endforeach; ?>>
					<?php foreach ($form->elements() as $element):?>
					<p>
						<label><?php echo h($element->_label)?>：</label>
						<?php echo Q::control($element->_ui, $element->id, $element->attrs());?>
					</p>
					<?php endforeach;?>
					<p>
						<span style=""><img
							src="<?php echo url('default::interface/code')?>" alt=""
							width="75" height="24" onclick="this.src=this.src+'?'" /> </span>
					</p>
					<?php foreach ($form->elements() as $element):?>
					<?php if (!$element->isValid()): ?>
					<p>
						<label>&nbsp;</label> <font color="#ff0000"><?php echo nl2br(h(implode("，", $element->errorMsg()))); ?>
						</font>
					</p>
					<?php endif;?>
					<?php endforeach;?>
					<div class="login_bar">
						<input class="sub" type="submit" value=" " />
					</div>
				</form>
			</div>
			<div class="login_banner">
				<img
					src="<?php echo $_BASE_DIR?>images/themes/default/images/login_banner.jpg" />
			</div>
			
		</div>
		
	</div>
</body>
</html> 